home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Jumpstart / Multimedia Microsoft Jumpstart Version 1.1a (Microsoft).BIN / develpmt / source / blt / blt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-28  |  1.8 KB  |  67 lines

  1. /* Menu Items */
  2. #define MENU_ABOUT       2
  3. #define MENU_EXIT        4
  4. #define MENU_OPEN        5
  5. #define MENU_COPY     6
  6. #define MENU_PASTE     7
  7. #define MENU_CUT         8
  8.  
  9. #define MENU_CLIP        10
  10. #define MENU_STRETCH     11
  11. #define MENU_MIRROR      12
  12. #define MENU_BACKPAL     13
  13. #define MENU_IDENTPAL    14
  14.  
  15. #define MENU_TIME        100
  16. #define MENU_TIMEALL     101
  17. #define MENU_TIMEXXX     102
  18. #define MENU_TEST        200
  19. #define MENU_SIZE        500
  20. #define MENU_DRAW        1000
  21. #define MENU_SIGN        2000
  22. #define MENU_RLE         3000
  23.  
  24. /****************************************************************************
  25. ****************************************************************************/
  26.  
  27. #ifdef DEBUG
  28.     extern void FAR CDECL dprintf(LPSTR szFormat, ...);
  29.     #define DPF dprintf
  30. #else
  31.     #define DPF ; / ## /
  32. #endif
  33.  
  34. /****************************************************************************
  35. ****************************************************************************/
  36.  
  37. #ifndef abs
  38. #define abs(x)    (((x) < 0) ? -(x) : (x))
  39. #endif
  40.  
  41. /****************************************************************************
  42. ****************************************************************************/
  43.  
  44. extern HINSTANCE hInstApp;
  45. extern HWND      hwndApp;
  46. extern HACCEL    hAccelApp;
  47. extern HPALETTE  hpalApp;
  48. extern HPALETTE  hpalBack;
  49. extern BOOL      fAppActive;
  50. extern BOOL      gfBackPal;
  51. extern BOOL      gfClipping;
  52. extern BOOL      gfStretch;
  53. extern BOOL      gfMirror;
  54.  
  55. extern LPBITMAPINFOHEADER lpbiApp;
  56. extern HBITMAP hbmApp;
  57. extern HBITMAP hbmDS;           // from CreateDIBSection
  58. extern HDC     hdcApp;
  59. extern HDC     hdcDS;
  60.  
  61. extern BITMAP  bm;
  62. extern DWORD   SizeImage;
  63. extern DWORD   OffsetScan0;
  64. extern LPBYTE  lpBitmapBits;
  65. extern LPVOID  lpDibBits;
  66. extern LPBYTE  BitmapTranslate;
  67.